
from likeshop.base.mybase import Tools


# 账户明细
class account_details_model(Tools):
    # 定义登录路径
    path = "/page/user/accountLog"

    # 发送登录请求
    def account_details_action(self, ddid, ppid, db):
        mydata = {
            "source": ddid,
            "type": ppid
        }
        res = self.session.get(url=self.hosturl+self.path, params=mydata, headers=db)
        return res.json()


